# ------------------------------------------------------------------------
# jdk版本
FROM openjdk:17-ea-slim-buster

# 把ruoyi.jar添加到容器里，并重命名为app.jar
ADD BDTH-SUPER-0.0.1-SNAPSHOT.jar BDTH-SUPER-0.0.1-SNAPSHOT.jar
ADD config/application.yml config/application.yml
ADD config/application-docker.yml config/application-docker.yml

ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
ENV LANGUAGE C.UTF-8
ENV TZ Asia/Shanghai

# ENTRYPOINT 执行项目 app.jar。
ENTRYPOINT ["java","-Xms256M","-Xmx512M","-jar","BDTH-SUPER-0.0.1-SNAPSHOT.jar"]
